package cn.study;

/**
 * @Author MDD
 * @Description
 * @Version
 * @Date
 **/
public class Teacher {
    private String name;
    private String sex;
    private int age;
    private int Seniority;//教龄
    private String unit;//单位
    private String course;//课程
    public void intro(){

    }


    public Teacher( String name,  String sex,  int age,  int seniority,  String unit,String course) {
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.Seniority = seniority;
        this.unit = unit;
        this.course = course;

    }

    public String getCourse() {
        return this.course;
    }

    public void setCourse(String course) {
        this.course = course;
    }
    public String getName() {
        return this.name;
    }

    public void setName( String name) {
        this.name = name;
    }

    public String getSex() {
        return this.sex;
    }

    public void setSex( String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return this.age;
    }

    public void setAge( int age) {
        this.age = age;
    }

    public int getSeniority() {
        return this.Seniority;
    }

    public void setSeniority( int seniority) {
        this.Seniority = seniority;
    }

    public String getUnit() {
        return this.unit;
    }

    public void setUnit( String unit) {
        this.unit = unit;
    }
}
